#define _CRT_SECURE_NO_WARNINGS 1
#include<iostream>
#include<cstdio>

using namespace std;

int main()
{
    int N, n;
    cin >> N;
    n = N;
    for (int i = 1; i <= 10; i++)
    {
        printf("%d x %d = %d\n", i, N, n);
        n += N;
    }
    return 0;
}